import request from '@/utils/request'

// 营销管理
//赠送
/**
 * 获取赠送、审批列表
 * @param {page,limit,keywords,add_time,type,status} data 
 * @returns 
 */

export function giveList(data) {
    return request({
        url: '/admin/give/giveList',
        method: 'post',
        data
    })
}

export function addGive(data) {
    return request({
        url: '/admin/give/addGive',
        method: 'post',
        data
    })
}

export function giveOprate(data) {
    return request({
        url: '/admin/give/examinePost',
        method: 'post',
        data
    })
}

export function delGiveInfo(data) {
    return request({
        url: '/admin/give/delBagView',
        method: 'post',
        data
    })
}

export function decadentList(data) {
    return request({
        url: '/admin/user/userYkList',
        method: 'post',
        data
    })
}

export function downList(data){
    return request({
        url: '/admin/user/exportYk',
        method: 'post',
        data
    })
}